<template>
  <div>
    <el-card>
      <el-row type="flex" justify="space-between" align="middle">
        <el-col>
          <el-row class="box" type="flex" align="middle">
            <i class="el-icon-warning" style="color:#409eff; margin:0 10px;" ></i>
            <slot name="before"></slot>
          </el-row>
        </el-col>
        <el-col>
          <el-row type="flex" justify="end">
            <slot name="after"></slot>
          </el-row>
        </el-col>
      </el-row>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "PageTools",
};
</script>

<style>
.box {
  border-radius: 3px;
  border: 1px solid rgba(145, 213, 255, 1);
  text-align: center;
  line-height: 34px;
  background: rgba(230, 247, 255, 1);
}
</style>